package com.xbfinance.portal.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ViewController {
    @RequestMapping("/")
    public String index(){
        return "redirect:/index";
    }
    @RequestMapping("view/{path}")
    public String view(@PathVariable String path){
        return path;
    }
}
